#ifndef TILESET_IMAGE_HPP
#define TILESET_IMAGE_HPP

#include <string>
#include "SFML/Graphics.hpp"
class TiXmlNode;

namespace Tmx
{

class Image
{
public: 
  Image();
  ~Image();
  void parse(const TiXmlNode *imageNode);
  int getWidth() {return width;}
  int getHeight() {return height;}
  sf::Sprite tileSprite;
private:
  sf::Texture tileTexture;
  std::string source;
  std::string trans;
  int width;
  int height;
};

}; // namespace Tmx

#endif
